/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package kurs;

/**
 *
 * @author user
 */
import java.util.*;
	class TestSort {
	     public static void main(String[] args) {
	     ArrayList<String[]> stuff = new ArrayList<String[]>(); // #1
	     stuff.add("Denver");
	     stuff.add("Boulder");
	     stuff.add("Vail");
	     stuff.add("Aspen");
	     stuff.add("Telluride");
	     System.out.println("unsorted " + stuff);
	     Collections.sort(stuff); // #2
	     System.out.println("sorted " + stuff);
             Collections.sort(stuff,Collections.reverseOrder()); // #2
	     System.out.println("sorted reverse " + stuff);

	     }
	}